<template>hello</template>
<script>
    export default {
        data() { return {value: 'Hello Vue.js' } },
    beforeCreate() {
        console.log('实例对象创建前: ' + this.value)
    },
    created() {
        console.log('实例对象创建后: ' + this.value)
    }
}
</script>